<?php
/**
 * message 数据表模型
 * @author  yuliang <yuliang@pvc123.com>
 */

namespace models;

class MessageModel extends C_Model {
    //status 状态(0:未处理,1:已处理,2:已忽略)
    const STATUS_UN_HANDLED =0;
    const STATUS_IS_HANDLED =1;
    const STATUS_IS_IGNORED =2;

    public function __construct() {

        //创建model对象并初始化数据表名称
        parent::__construct('message');

        //设置表数据表主键，默认为id
        $this->setPrimaryKey('id');
		$this->autoPrimary = false;
        

        

    }
} 
